package com.guardchina.framework.util.exception.login;

import com.guardchina.framework.util.constant.ResultStatus;
import com.guardchina.framework.util.exception.BusinessException;

/**
 * 描述：无效token
 *
 * @author lwb
 * @date 2019/3/19 11:26
 */
public class TokenInvalidException extends BusinessException {

    public TokenInvalidException (String shortMessage){
        super(ResultStatus.TOKEN_INVALID, shortMessage);
    }

    public TokenInvalidException (String shortMessage, String detailMessage){
        super(ResultStatus.TOKEN_INVALID, shortMessage, detailMessage);
    }

    public TokenInvalidException(String shortMessage, Throwable throwable){
        super(ResultStatus.TOKEN_INVALID, shortMessage, throwable);
    }

    public TokenInvalidException(String shortMessage, String detailMessage, Throwable throwable){
        super(ResultStatus.TOKEN_INVALID, shortMessage, detailMessage, throwable);
    }

}
